package UserDatabase;

import java.util.Arrays;

public class Bill {
	private int id;//编号
	private int water,electricity,gas,wbill,pbill,hbill;//账单
	
	public Bill(int water, int electricity, int gas,int wbill, int pbill, int hbill) {
		super();
		this.water = water;
		this.electricity = electricity;
		this.gas = gas;
		this.wbill = wbill;
		this.pbill = pbill;
		this.hbill = hbill;
	}
	
	
	public Bill(int id ,int water, int electricity, int gas,int wbill, int pbill, int hbill) {
		super();
		this.id = id;
		this.water = water;
		this.electricity = electricity;
		this.gas = gas;
		this.wbill = wbill;
		this.pbill = pbill;
		this.hbill = hbill;
	}


	public int getId() {
		return id;
	}


	public void setId(int id) {
		this.id = id;
	}


	public int getWater() {
		return water;
	}


	public void setWater(int water) {
		this.water = water;
	}


	public int getElectricity() {
		return electricity;
	}


	public void setElectricity(int electricity) {
		this.electricity = electricity;
	}


	public int getGas() {
		return gas;
	}


	public void setGas(int gas) {
		this.gas = gas;
	}


	public int getWbill() {
		return wbill;
	}


	public void setWbill(int wbill) {
		this.wbill = wbill;
	}


	public int getPbill() {
		return pbill;
	}


	public void setPbill(int pbill) {
		this.pbill = pbill;
	}


	public int getHbill() {
		return hbill;
	}


	public void setHbill(int hbill) {
		this.hbill = hbill;
	}


	@Override
	public String toString() {
		return "Bill [id=" + id + ", water=" + water + ", electricity=" + electricity + ", gas=" + gas + ", wbill="
				+ wbill + ", pbill=" + pbill + ", hbill=" + hbill + "]";
	}
	
	


	
}
